package org.alis.rpc.common.config;

import org.alis.rpc.common.annotation.EnableRpc;
import org.springframework.context.annotation.AdviceMode;
import org.springframework.context.annotation.AdviceModeImportSelector;
/**
 *  实现自己的抽象类
 * @author lc
 * @version v1.0.0
 * @date 2020/8/20 15:31
 * @className RpcConfig.class
 */
public class RpcConfigurationSelector extends AdviceModeImportSelector<EnableRpc> {

    @Override
    protected String[] selectImports(AdviceMode adviceMode) {
        switch (adviceMode){
            case PROXY:return new String[]{};
            case ASPECTJ: return null;
            default:return null;
        }
    }
}
